package com.coffee.service;

import com.coffee.dto.CoffeeDto;
import com.coffee.entity.Coffee;
import com.coffee.entity.PageResult;
import com.coffee.entity.QueryPageBean;

import java.util.List;

public interface CoffeeService {
    List<Coffee> list(String id);


    PageResult page(QueryPageBean queryPageBean);

    void add(CoffeeDto coffeeDto);

    void edit(CoffeeDto coffeeDto);

    void delete(Coffee coffee);

    void status(Coffee coffee);

    List<Coffee> listDisCount();

}
